/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.musictalk.model.business;

import com.musictalk.view.FriendList;
import java.util.HashMap;

/**
 *
 * @author AIDEN
 */
public class ManageFriendList {
    static private HashMap<String,FriendList> listMap = new HashMap<String,FriendList>();

    public static void addFriendList(String chatID,FriendList list){
        ManageFriendList.listMap.put(chatID, list);
    }

    public static FriendList getFriendList(String ID){
        return (FriendList)ManageFriendList.listMap.get(ID);
    }
}
